#ifndef SCENARIO_H_
#define SCENARIO_H_

#include <string>
#include <vector>
#include <ext/hash_map>

using std::string;
using std::vector;


using __gnu_cxx::hash_map;
using __gnu_cxx::hash;

class Scenario
{
    private:
        string _filename;
        vector<string> *_text;
        int _line;
        // hash_map  string , *vector<string>
        static hash_map<string, vector<string>* > _filesHm;

        void readFile();
    protected:

    public:
        string getFilename() { return _filename; }
        string getNextLine();
        bool hasNextLine();
        string getFirstLine();
        string getLastLine();
        void setFirstLine() { _line = -1; }
        int getSize();
        Scenario(string );
        ~Scenario();
};



#endif /*SCENARIO_H_*/
